package com.bjsdzk.common.enums;

/**
 * 胜顶智控平台管理
 * mongo查询拼接参数枚举，用于时间截取
 *
 * @author chuntao Liu
 * @time 2019/6/28.
 */
public enum DateItemEnum {
    ALL(0, 0),
    YEAR(0, 4),
    MONTH(0, 7),
    WEEK(0, 100),
    DAY(0, 10);

    DateItemEnum(int start, int end) {
        this.start = start;
        this.end = end;
    }

    private int start;
    private int end;

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }

    public int getEnd() {
        return end;
    }

    public void setEnd(int end) {
        this.end = end;
    }}
